package cn.tedu.jewelry.mapper;

import cn.tedu.jewelry.entity.HotkeyWord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

//热词模块
@Mapper
public interface HotkeyMapper {

    //获取所有热词
    @Select("select keyword from hotkeyword order by total desc ")
    List<HotkeyWord> hotKeyWord();
}
